﻿using System.ComponentModel.DataAnnotations;
using YFurion.Application;

namespace UpperComputer.Application
{
    public class BaseRoleUserDto : EntityDto
    {
        [Required, RegularExpression(@"^[a-zA-Z]{1,50}$")]
        public string Account { get; set; }

        [Required, RegularExpression(@"^[a-zA-Z]{1,50}$")]
        public string RoleCode { get; set; }

        public string RoleName { get; set; }
    }
}
